package com.yonyou.pmclouds.completedcatalog.mapper;

import com.yonyou.pmclouds.basecom.dao.BaseMapper;
import com.yonyou.pmclouds.completedcatalog.entity.CompletedCatalogVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompletedCatalogVOMapper extends BaseMapper<CompletedCatalogVO> {

    CompletedCatalogVO queryByPrimaryKey(@Param("pkCompletedCatalog") String pkCompletedCatalog);

    int pageCount(@Param("conditions") String[] conditions, @Param("start") Integer start, @Param("limit") Integer limit, @Param("pkTenant") String pkTenant);

    List<CompletedCatalogVO> querypagebyconditions(@Param("conditions") String[] conditions, @Param("start") Integer start, @Param("limit") Integer limit, @Param("pkTenant") String pkTenant);

    List<CompletedCatalogVO> queryByPkTenant(@Param("pkTenant") String pkTenant);

    CompletedCatalogVO[] queryByCatalogName(@Param("catalogName") String catalogName, @Param("pkTenant") String pkTenant);
}